package com.openweixin.sheknows.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 实体类-问题回复提示
 * 
 * @注意事项 当前会员问题有新的回答插入记录，会员查看，则删除
 * @author 刘思作
 * @version 1.0.0 2014-04-02
 * @since 1.0.0
 */

@Entity
@Table(name = "user_new_answer")
public class UserNewAnswer {

	private Integer answeruid;// 是谁回答的
	private java.sql.Timestamp datetime;// 最后回答的时间
	private UserNewPK pk; // 问题回复提示主键

	@Column(name = "answeruid")
	public Integer getAnsweruid() {
		return this.answeruid;
	}

	public void setAnsweruid(Integer answeruid) {
		this.answeruid = answeruid;
	}

	@Column(name = "datetime")
	public java.sql.Timestamp getDatetime() {
		return this.datetime;
	}

	public void setDatetime(java.sql.Timestamp datetime) {
		this.datetime = datetime;
	}

	@Id
	public UserNewPK getPk() {
		return pk;
	}

	public void setPk(UserNewPK pk) {
		this.pk = pk;
	}
	
	
}